/*
 * xml_lib.h
 *
 *  Created on: 2011-6-26
 *      Author: vyouzhi
 * gcc -I/usr/include/libxml2/ -lxml2 -c xml_lib.c xml_lib.h 
 */
#ifndef XML_LIB_H_
#define XML_LIB_H_

#include "sdb_struct.h"

typedef  struct recv_xml{
	char *rw;
	char *sub;
	char *key;
	char *host;
	char *action;
	long lastid;
	int logname;
	int extime;
	int port;
	int id;
	int type;
	int returnid;
} recv_xml;

char *set_xml(Sdb *sdb);

recv_xml *get_xml(char *docname, int doclen);
#endif /* XML_LIB_H_ */
